package com.heima.article.feign;

import com.heima.article.entity.WmUser;
import com.heima.common.dto.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-media")
public interface MediaFeign {
    @PostMapping("/api/v1/user/find")
    public WmUser findWmUser(@RequestBody Integer id);
}
